package model

import "gorm.io/gorm"

type WmsCustomer struct {
	gorm.Model
	Uid        uint   `json:"uid" gorm:"not null;default:0;"`
	Enable     int8   `json:"enable" gorm:"not null;default:1;comment: 0=未知 1=启用 2=禁用"`
	Code       string `json:"code" gorm:"not null;default:'';uniqueIndex;"`
	Name       string `json:"name" gorm:"not null;default:'';"`
	Address    string `json:"address" gorm:"not null;default:'';"`
	Phone      string `json:"phone" gorm:"not null;default:'';"`
	Email      string `json:"email" gorm:"not null;default:'';"`
	Bank       string `json:"bank" gorm:"not null;default:'';"`
	BankNumber string `json:"bankNumber" gorm:"not null;default:'';"`
	Telephone  string `json:"telephone" gorm:"not null;default:'';comment:座机;"`
	Weixin     string `json:"weixin" gorm:"not null;default:'';"`
	Qq         string `json:"qq" gorm:"not null;default:'';"`
	Memo       string `json:"memo" gorm:"not null;default:'';"`
}
